# name: diag_matrix
# key: diag_matrix
# group: Functions
# --
diag_matrix(${1:x})$0